package com.bbh.plugin.single.privilege.core.repository;


import com.bbh.plugin.single.privilege.core.entity.Rule;
import com.bbh.plugin.single.privilege.core.vo.tree.RuleVo;
import org.springframework.boot.config.mybatis.MyBatisRepository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

@MyBatisRepository
public interface RuleMapper extends Mapper<Rule> {


    List<RuleVo> findRoleRuleList(Map<String, Object> params);

    List<Rule> findRuleListByLoginName(Map<String, Object> params);
}